package com.teadent.bean;

public class Person {
    private String userName;
    private String userId;
    private String userAccount;
    private String userPassword;
    private String userEmail;
    private String userSex;
    private String userOthername;
    private int userIdentify;

    public Person(String userName, String userId, String userAccount,
                  String userPassword, String userEmail, String userSex,
                  String userOthername, int userIdentify) {
        this.userName = userName;
        this.userId = userId;
        this.userAccount = userAccount;
        this.userPassword = userPassword;
        this.userEmail = userEmail;
        this.userSex = userSex;
        this.userOthername = userOthername;
        this.userIdentify = userIdentify;
    }

    public Person() {
    }

    public Person(String userAccount, String userPassword) {
        this.userAccount = userAccount;
        this.userPassword = userPassword;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    public String getUserOthername() {
        return userOthername;
    }

    public void setUserOthername(String userOthername) {
        this.userOthername = userOthername;
    }

    public int getUserIdentify() {
        return userIdentify;
    }

    public void setUserIdentify(int userIdentify) {
        this.userIdentify = userIdentify;
    }

    @Override
    public String toString() {
        return "Person{" +
                "userName='" + userName + '\'' +
                ", userId='" + userId + '\'' +
                ", userAccount='" + userAccount + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", userEmail='" + userEmail + '\'' +
                ", userSex='" + userSex + '\'' +
                ", userOthername='" + userOthername + '\'' +
                ", userIdentify=" + userIdentify +
                '}';
    }
}
